﻿
using System.Collections.Generic;
using QLKS.DAL;
using QLKS.Entity;

namespace QLKS.BLL
{
    public class DMNguoiDungBUS
    {
        private static DMNguoiDungDAO dao = new DMNguoiDungDAO();

        public static DMNguoiDung CheckLogin(DMNguoiDung obj)
        {
            return dao.CheckLogin(obj);
        }
        public static List<DMNguoiDung> GetByAll(DMNguoiDung obj)
        {
            return dao.GetByAll(obj);
        }

        public static bool Insert(DMNguoiDung obj)
        {
            return dao.Insert(obj);
        }

        public static bool Update(DMNguoiDung obj)
        {
            return dao.Update(obj);
        }

        public static bool Delete(DMNguoiDung obj)
        {
            return dao.Delete(obj);
        }
    }
}
